<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="__CSS__/reset.css" />
		<link rel="stylesheet" type="text/css" href="__CSS__/index.css">
		<link rel="stylesheet" type="text/css" href="__CSS__/view.css">
		<link rel="stylesheet" type="text/css" href="__CSS__/public.css">
		<script rel="stylesheet" type="text/javascript" src="__JS__/show.js"></script>
		<script rel="stylesheet" type="text/javascript" src="__JS__/ajax.js"></script>
	</head>
	<body id="ajaxnb">
		<header>
			<div id="top">
				<div class="container">
					<a href="" class="login_logo"><img src="__IMG__/logo.svg" alt="Yii Framework 中文网" id="logo"
							style="padding-left: 10px;"></a>
					<div>
						<ul id="first_ul">
							<li>
								<a href="{:url('index/index')}" id="sy">首页</a>
							</li>

							<li>
								<div id="pull-down"><a href="{:url('index/view')}">论坛</a></div>
								<ul id="menu">
									{volist name='sec' id='secRow'}

									<li><a href="{:url('index/view',['sid'=>$secRow.sid])}">{$secRow.sname}</a></li>
									{/volist}
								</ul>
							</li>
							<li>
								<a href="">排行</a>
							</li>
							<li>
								<a href="">案例</a>
							</li>
							<li>
								<a href="">圈子</a>
							</li>
							<li>
								<a href="{:url('user/contact')}">联系我们</a>
							</li>
							<li>
								<a href="{:url('index/pa')}">修改密码</a>
							</li>
							<li>
								<a href="{:url('index/me')}">上传头像</a>
							</li>
							{if {:session('uName')}
							<li>
								<a href="{:url('user/logout')}">退出</a>
							</li>
							<li>
								欢迎您：{:session('uName')}

							</li>
							<li>
								<img src="__POT__/{:session('uImg')}"
									style="height: 30px;width: 30px;margin-left: -12px;margin-top: -5px;">

							</li>
							{else/}
							<li>
								<a href="{:url('user/login')}">登录</a>
							</li>
							<li>
								<a href="{:url('user/reg')}">注册</a>
							</li>
							{/if}
						</ul>
					</div>

				</div>
			</div>
		</header>

		<div id="sth">
			<!-- 位置 -->
			<div id="location">
				<a href="">首页</a>
				<p style="display: inline;">/ 问答</p>
			</div>
			<!-- 左部分 -->

			<div id="view_left">
				<div id="page-header">
					<h3>{$thisSec}</h3>
					<ul id="module">
						<li><a href="#">最新问题</a></li>
						<li><a href="#">精选问题</a></li>
						<li><a href="#">已解决</a></li>
						<li><a href="#">未解决</a></li>
					</ul>
				</div>
				
				<div id="view">
					<ul>
						{volist name='mes' id='mesRow'}
						<li>
							<img src="__POT__/{$mesRow.uimg}" style="width: 60px; height: 50px;margin-top: 2px;" alt=""
								class="view_logo">
							<img src="" alt="">

							<div class="content">
								<!-- <a href="{:url('index/detail')}">大佬，请问一下MQ的问题kafka可以解决么？</a> -->
								<a href="{:url('index/detail', ['mid' => $mesRow.mid])}">{$mesRow.mtitle}</a>
								<!-- <p><a href="">PHP学院的中学生</a>提问于 22小时前•未解决•2.0 版本</p> -->
								<p><a href="">{$mesRow.munick}</a><span style="margin-left: 20px;">浏览：12

									</span> <span style="margin-left: 10px;">评论：12</span>

								</p>
							</div>
							<div class="content" style="position: absolute;right: -30px;margin-top: 15px;">
								<p><span>{$mesRow.mcreateat|date='Y-m-d H:i'}</span>
								<p>
							</div>
						</li>
						{/volist}
						
						<!-- <li>
							<img src="__IMG__/noavatar_small.gif" alt="" class="view_logo">
							<img src="" alt="">
							<div class="content">
								<a href="#">大佬，请问一下Linux服务器安装了四五个版本的PHP，会占用很大的内存么？</a>
								<p><a href="">PHP学院的中学生</a>提问于 2021-09-09•已解决•2.0 版本</p>
							</div>
								<a href="" class="answers">1</a>
						</li>
						<li>
							<img src="__IMG__/noavatar_small.gif" alt="" class="view_logo">
							<img src="" alt="">
							<div class="content">
								<a href="#">移动端h5全屏背景图如何铺满不变形，适配各种手机？</a>
								<p><a href="">PHP学院的中学生</a>提问于 2021-09-08•未解决•2.0 版本</p>
							</div>
								<a href="" class="answers">1</a>
						</li>
						<li>
							<img src="__IMG__/53_avatar_small.jpg" alt="" class="view_logo">
							<img src="" alt="">
							<div class="content">
								<a href="#">怎么让assets资源目录变成远程地址</a>
								<p><a href="">蛋蛋的蛋</a>提问于 2021-09-07•已关闭•2.0 版本</p>
							</div>
								<a href="" class="answers">0</a>
						</li> -->
					</ul>
					<li style="display: inline;">查询结果总计{$total}条</li>
					<select name="listrows" onchange="show_sid('',{$mesRow.msid},'ajaxnb',this.value)">
						<option value="5" {if $listrows == 5}selected{/if}>5</option>
						<option value="10" {if $listrows == 10}selected{/if}>10</option>
						<option value="15" {if $listrows == 15}selected{/if}>15</option>
						<option value="20" {if $listrows == 20}selected{/if}>20</option>
					</select>
					<li>{$page|raw}</li>
				</div>
					
			</div>

			<!-- 右部分 -->

			<div id="view_right">
				<div id="button">

					<a href="{:url('index/post',['sid'=>input('sid')])}">提问</a>

				</div>
			</div>

		</div>

		<div class="clear"></div>
		<div id="bottom">
			<footer class="footer">
				<div>
					<div id="flex_div">
						<div class="footer_div" id="bottom_div">
							<div id="bottom_wz">
								<svg class="bottom_img" aria-hidden="true" focusable="false" data-prefix="fas"
									data-icon="info-circle" role="img" xmlns="http://www.w3.org/2000/svg"
									viewBox="0 0 512 512" data-fa-i2svg="">
									<path fill="currentColor"
										d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z">
									</path>
								</svg>
								<h3>关于 Yii</h3>
							</div>
							<ul>
								<li><a href="">Yii 的简介</a></li>
								<li><a href="">Yii 的动态</a></li>
								<li><a href="">Yii 的特性</a></li>
								<li><a href="">Yii 的性能</a></li>
								<li><a href="">Yii 的许可</a></li>
							</ul>
						</div>
						<div class="footer_div" id="bottom_div">
							<div id="bottom_wz">
								<svg class="bottom_img" aria-hidden="true" focusable="false" data-prefix="fas"
									data-icon="book" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"
									data-fa-i2svg="">
									<path fill="currentColor"
										d="M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z">
									</path>
								</svg>
								<h3>文档手册</h3>
							</div>
							<ul>
								<li><a href="">中文文档</a></li>
								<li><a href="">框架下载</a></li>
								<li><a href="">中文教程</a></li>
								<li><a href="">安装扩展</a></li>
								<li><a href="">优秀源码</a></li>
							</ul>
						</div>
						<div class="footer_div" id="bottom_div">
							<div id="bottom_wz">
								<svg class="bottom_img" aria-hidden="true" focusable="false" data-prefix="fas"
									data-icon="comment" role="img" xmlns="http://www.w3.org/2000/svg"
									viewBox="0 0 512 512" data-fa-i2svg="">
									<path fill="currentColor"
										d="M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7S4.8 480 8 480c66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32z">
									</path>
								</svg>
								<h3>网站资源</h3>
							</div>
							<ul>
								<li><a href="">网站问答</a></li>
								<li><a href="">网站讨论</a></li>
								<li><a href="">用户案例</a></li>
								<li><a href="">视频教程</a></li>
								<li><a href="">会员排行</a></li>
							</ul>
						</div>
						<div class="footer_div" id="study" id="bottom_div">
							<div id="bottom_wz">
								<svg class="bottom_img" aria-hidden="true" focusable="false" data-prefix="fab"
									data-icon="qq" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"
									data-fa-i2svg="">
									<path fill="currentColor"
										d="M433.754 420.445c-11.526 1.393-44.86-52.741-44.86-52.741 0 31.345-16.136 72.247-51.051 101.786 16.842 5.192 54.843 19.167 45.803 34.421-7.316 12.343-125.51 7.881-159.632 4.037-34.122 3.844-152.316 8.306-159.632-4.037-9.045-15.25 28.918-29.214 45.783-34.415-34.92-29.539-51.059-70.445-51.059-101.792 0 0-33.334 54.134-44.859 52.741-5.37-.65-12.424-29.644 9.347-99.704 10.261-33.024 21.995-60.478 40.144-105.779C60.683 98.063 108.982.006 224 0c113.737.006 163.156 96.133 160.264 214.963 18.118 45.223 29.912 72.85 40.144 105.778 21.768 70.06 14.716 99.053 9.346 99.704z">
									</path>
								</svg>
								<h3>技术学习</h3>
							</div>
							<ul>
								<li>
									① <a target="_blank" href="">4241653</a> <span class="red">(已满)</span>&nbsp;
									② <a target="_blank" href="">4829703</a> <span class="red">(已满)</span></li>
								<li>
									③ <a target="_blank" href="">4958407</a> <span class="green">(未满)</span>&nbsp;
									④ <a target="_blank" href="">5476028</a> <span class="green">(未满)</span></li>
								<li>
									⑤ <a target="_blank" href="">5478523</a> <span class="red">(已满)</span>&nbsp;
									⑥ <a target="_blank" href="">5604716</a> <span class="red">(已满)</span></li>
								<li>
									⑦ <a target="_blank" href="">5629416</a> <span class="red">(已满)</span>&nbsp;
									⑧ <a target="_blank" href="">6419794</a> <span class="red">(已满)</span></li>
								<li>
									⑨ <a target="_blank" href="">7415106</a> <span class="red">(已满)</span>&nbsp;
									⑩ <a target="_blank" href="">7594839</a> <span class="red">(已满)</span> </li>
							</ul>
						</div>
						<div class="footer_div">
							<h3><svg class="bottom_img" aria-hidden="true" focusable="false" data-prefix="fas"
									data-icon="share-alt" role="img" xmlns="http://www.w3.org/2000/svg"
									viewBox="0 0 448 512" data-fa-i2svg="">
									<path fill="currentColor"
										d="M352 320c-22.608 0-43.387 7.819-59.79 20.895l-102.486-64.054a96.551 96.551 0 0 0 0-41.683l102.486-64.054C308.613 184.181 329.392 192 352 192c53.019 0 96-42.981 96-96S405.019 0 352 0s-96 42.981-96 96c0 7.158.79 14.13 2.276 20.841L155.79 180.895C139.387 167.819 118.608 160 96 160c-53.019 0-96 42.981-96 96s42.981 96 96 96c22.608 0 43.387-7.819 59.79-20.895l102.486 64.054A96.301 96.301 0 0 0 256 416c0 53.019 42.981 96 96 96s96-42.981 96-96-42.981-96-96-96z">
									</path>
								</svg>
								关注我们</h3>
							<dl id="first_dl">
								<dt>
									<svg class="bottom_img" aria-hidden="true" focusable="false" data-prefix="fab"
										data-icon="weibo" role="img" xmlns="http://www.w3.org/2000/svg"
										viewBox="0 0 512 512" data-fa-i2svg="">
										<path fill="currentColor"
											d="M407 177.6c7.6-24-13.4-46.8-37.4-41.7-22 4.8-28.8-28.1-7.1-32.8 50.1-10.9 92.3 37.1 76.5 84.8-6.8 21.2-38.8 10.8-32-10.3zM214.8 446.7C108.5 446.7 0 395.3 0 310.4c0-44.3 28-95.4 76.3-143.7C176 67 279.5 65.8 249.9 161c-4 13.1 12.3 5.7 12.3 6 79.5-33.6 140.5-16.8 114 51.4-3.7 9.4 1.1 10.9 8.3 13.1 135.7 42.3 34.8 215.2-169.7 215.2zm143.7-146.3c-5.4-55.7-78.5-94-163.4-85.7-84.8 8.6-148.8 60.3-143.4 116s78.5 94 163.4 85.7c84.8-8.6 148.8-60.3 143.4-116zM347.9 35.1c-25.9 5.6-16.8 43.7 8.3 38.3 72.3-15.2 134.8 52.8 111.7 124-7.4 24.2 29.1 37 37.4 12 31.9-99.8-55.1-195.9-157.4-174.3zm-78.5 311c-17.1 38.8-66.8 60-109.1 46.3-40.8-13.1-58-53.4-40.3-89.7 17.7-35.4 63.1-55.4 103.4-45.1 42 10.8 63.1 50.2 46 88.5zm-86.3-30c-12.9-5.4-30 .3-38 12.9-8.3 12.9-4.3 28 8.6 34 13.1 6 30.8.3 39.1-12.9 8-13.1 3.7-28.3-9.7-34zm32.6-13.4c-5.1-1.7-11.4.6-14.3 5.4-2.9 5.1-1.4 10.6 3.7 12.9 5.1 2 11.7-.3 14.6-5.4 2.8-5.2 1.1-10.9-4-12.9z">
										</path>
									</svg>
									Yii 中文网
								</dt>
								<dd><a href="">http://weibo.com/yiichina</a></dd>
							</dl>
							<dl id="second_dl">
								<dt><svg class="bottom_img" aria-hidden="true" focusable="false" data-prefix="fab"
										data-icon="github" role="img" xmlns="http://www.w3.org/2000/svg"
										viewBox="0 0 496 512" data-fa-i2svg="">
										<path fill="currentColor"
											d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z">
										</path>
									</svg> Yii China</dt>
								<dd><a href="">https://github.com/yiichina</a></dd>
							</dl>
						</div>
					</div>

				</div>

			</footer>
			<div id="footer_second_bottom">
				<hr />
				<footer id="footer_second">
					<div id="bottom_second">
						<div>
							<span id="left">Copyright &copy; 2009-2021 by <a href="">Yii China</a>.
								<span class="d-none d-sm-inline">All Rights Reserved.</span></span>
							<span id="right">
								技术支持 <a href="" rel="external">Yii 框架</a> 2.0.35.
								<a href="" target="_blank">京ICP备09104811号-3</a>
								<script src=""></script>
								<a href="">友情链接</a>
							</span>
						</div>
					</div>

				</footer>
			</div>
		</div>
	</body>
</html>

<!-- <script>
	window.onload = function() {
		//获取需要悬浮的对象
		let show = document.getElementById("pull-down");
		//获取被隐藏的菜单
		let menu = document.getElementById("menu");

		//给show添加鼠标悬浮事件
		show.onmouseover = function() {
			//改变菜单的内联样式display为block
			menu.style.display = "block";
		}

		//
		show.onmouseout = function() {
			//获取菜单栏的坐标值
			let menux = menu.offsetLeft;
			let menuy = menu.offsetTop;
			let menuX = menu.offsetLeft + menu.offsetWidth;
			let menuY = menu.offsetTop + menu.offsetHeight;

			//获取鼠标的坐标值
			let event = window.event;
			let mouseX = event.clientX;
			let mouseY = event.clientY;

			if (mouseX < menux || mouseX > menuX || mouseY < menuY || mouseY > menuY) {
				menu.style.display = "none";
			}
		}

		//分别给menu对象绑定鼠标悬浮和鼠标离开事件
		menu.onmouseover = function() {
			menu.style.display = "block";
		}
		menu.onmouseleave = function() {
			menu.style.display = "none";
		}
	}
</script> -->
